$(document).ready(function(){
	var selected_menu_class = 'nav-selected';
	var path = String(window.location.pathname);
	var selected_menu_id = path.substring(path.lastIndexOf('/admin/')+7);
	selected_menu_id = selected_menu_id.replace('/', '-');
	$('#'+selected_menu_id).addClass(selected_menu_class);
})